<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="./js/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<h2 v-html="msg">这是h2中的默认文本</h2>
			<h2>{{msg}}这是h2中的默认文本</h2>
			v-text:<div v-text="buttonmsg"></div>
			v-html:<div v-html="buttonmsg"></div>
		</div>
	</body>
	<script>
	var app=new Vue({
		el:"#app",
		data:{
			msg:"Hello world!",
			buttonmsg:"<button>ok</button>"
		}
	})
	
	</script>
</html>
